{"ast":null,"code":"import _defineProperty from \"/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/@babel/runtime/helpers/esm/defineProperty.js\";\nimport classNames from 'classnames';\nimport RcCollapse from 'rc-collapse';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport warning from '../_util/warning';\nvar CollapsePanel = function CollapsePanel(props) {\n  process.env.NODE_ENV !== \"production\" ? warning(!('disabled' in props), 'Collapse.Panel', '`disabled` is deprecated. Please use `collapsible=\"disabled\"` instead.') : void 0;\n  var _React$useContext = React.useContext(ConfigContext),\n    getPrefixCls = _React$useContext.getPrefixCls;\n  var customizePrefixCls = props.prefixCls,\n    _props$className = props.className,\n    className = _props$className === void 0 ? '' : _props$className,\n    _props$showArrow = props.showArrow,\n    showArrow = _props$showArrow === void 0 ? true : _props$showArrow;\n  var prefixCls = getPrefixCls('collapse', customizePrefixCls);\n  var collapsePanelClassName = classNames(_defineProperty({}, \"\".concat(prefixCls, \"-no-arrow\"), !showArrow), className);\n  return /*#__PURE__*/React.createElement(RcCollapse.Panel, Object.assign({}, props, {\n    prefixCls: prefixCls,\n    className: collapsePanelClassName\n  }));\n};\nexport default CollapsePanel;","map":{"version":3,"names":["classNames","RcCollapse","React","ConfigContext","warning","CollapsePanel","props","process","env","NODE_ENV","useContext","getPrefixCls","customizePrefixCls","prefixCls","className","showArrow","collapsePanelClassName","createElement","Panel","Object","assign"],"sources":["/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/antd/es/collapse/CollapsePanel.js"],"sourcesContent":["import classNames from 'classnames';\nimport RcCollapse from 'rc-collapse';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport warning from '../_util/warning';\nconst CollapsePanel = props => {\n  process.env.NODE_ENV !== \"production\" ? warning(!('disabled' in props), 'Collapse.Panel', '`disabled` is deprecated. Please use `collapsible=\"disabled\"` instead.') : void 0;\n  const {\n    getPrefixCls\n  } = React.useContext(ConfigContext);\n  const {\n    prefixCls: customizePrefixCls,\n    className = '',\n    showArrow = true\n  } = props;\n  const prefixCls = getPrefixCls('collapse', customizePrefixCls);\n  const collapsePanelClassName = classNames({\n    [`${prefixCls}-no-arrow`]: !showArrow\n  }, className);\n  return /*#__PURE__*/React.createElement(RcCollapse.Panel, Object.assign({}, props, {\n    prefixCls: prefixCls,\n    className: collapsePanelClassName\n  }));\n};\nexport default CollapsePanel;"],"mappings":";AAAA,OAAOA,UAAU,MAAM,YAAY;AACnC,OAAOC,UAAU,MAAM,aAAa;AACpC,OAAO,KAAKC,KAAK,MAAM,OAAO;AAC9B,SAASC,aAAa,QAAQ,oBAAoB;AAClD,OAAOC,OAAO,MAAM,kBAAkB;AACtC,IAAMC,aAAa,GAAG,SAAhBA,aAAa,CAAGC,KAAK,EAAI;EAC7BC,OAAO,CAACC,GAAG,CAACC,QAAQ,KAAK,YAAY,GAAGL,OAAO,CAAC,EAAE,UAAU,IAAIE,KAAK,CAAC,EAAE,gBAAgB,EAAE,wEAAwE,CAAC,GAAG,KAAK,CAAC;EAC5K,wBAEIJ,KAAK,CAACQ,UAAU,CAACP,aAAa,CAAC;IADjCQ,YAAY,qBAAZA,YAAY;EAEd,IACaC,kBAAkB,GAG3BN,KAAK,CAHPO,SAAS;IAAA,mBAGPP,KAAK,CAFPQ,SAAS;IAATA,SAAS,iCAAG,EAAE;IAAA,mBAEZR,KAAK,CADPS,SAAS;IAATA,SAAS,iCAAG,IAAI;EAElB,IAAMF,SAAS,GAAGF,YAAY,CAAC,UAAU,EAAEC,kBAAkB,CAAC;EAC9D,IAAMI,sBAAsB,GAAGhB,UAAU,+BACnCa,SAAS,gBAAc,CAACE,SAAS,GACpCD,SAAS,CAAC;EACb,OAAO,aAAaZ,KAAK,CAACe,aAAa,CAAChB,UAAU,CAACiB,KAAK,EAAEC,MAAM,CAACC,MAAM,CAAC,CAAC,CAAC,EAAEd,KAAK,EAAE;IACjFO,SAAS,EAAEA,SAAS;IACpBC,SAAS,EAAEE;EACb,CAAC,CAAC,CAAC;AACL,CAAC;AACD,eAAeX,aAAa"},"metadata":{},"sourceType":"module"}